package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.entity.Course;

import java.util.List;

/**
 * @author kaoM1Jy
 * @date 2025/10/9 15:56
 * @description:
 */
public interface CourseService {
    List<Course> getBySubject(Integer subject);

    List<Course> getAll();

    void update1(Course course);

    void add(Course course);

    PageResult<Course> page(String name, Integer subject, Integer target, Integer page, Integer pageSize);

    void deleteByID(Integer id);


    Course getById(Integer id);


}
